package collector;

import java.lang.reflect.Method;

public class ColectorFactory {
	private static Collector c;
	static{
//		try {
//			c=(Collector) Class.forName("collector.USBCollector").newInstance();
//			Method method = c.getClass().getDeclaredMethod("setCollector", Collector.class);
//			method.invoke(c, "");
//		} catch (InstantiationException | IllegalAccessException
//				| ClassNotFoundException e) {
//			e.printStackTrace();
//		}
	}
	public static Collector getInstance(){
		return c;
	}

}
